package com.didi.gulimall.auth.service;

import com.didi.gulimall.auth.vo.UserLoginVo;
import com.didi.gulimall.auth.vo.UserRegistVo;
import com.didi.gulimall.common.utils.R;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;

import javax.servlet.http.HttpSession;

/**
 * @author 10626
 */
public interface AuthMemberService {

    R sendCode(String phone);

    String registered(UserRegistVo userRegistVo, RedirectAttributes redirectAttributes);

    String login(UserLoginVo userLoginVo, RedirectAttributes redirectAttributes, HttpSession session);

}
